//
//  E7BaseDefine.h
//  E7_ENGINE
//
//  Created by cc on 12-2-29.
//  Copyright (c) 2012年 PalmGame. All rights reserved.
//

#ifndef E7_ENGINE_E7BaseDefine_h
#define E7_ENGINE_E7BaseDefine_h

#include "E7Externs.h"
#include "E7UtilityExterns.h"

const int           INVALID_INT           = -1 ;
const float         INVALID_FLOAT         = -0.1f ;
const double        INVALID_DOUBLE        = -0.1 ;

const int           ZERO_INT              = 0 ;
const float         ZERO_FLOAT            = 0.0f ;
const double        ZERO_DOUBLE           = 0.0 ;

enum eStep
{
    S_ERROR = INVALID_INT,

    S_START = ZERO_INT,
    S_PAUSE,
    S_STOP,

    S_MAX,
} ;

typedef void(*TouchedCallBack)(CCPoint offset, float scale, CCPoint pos) ;


const float         ZOOM_SCALE_MAX       = 3.0f ;
const float         ZOOM_SCALE_MIN       = 1.0f ;

#endif
